package xyz.hubery;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableMethodCache(basePackages = "xyz.hubery")     // 启用方法缓存注解
@EnableCreateCacheAnnotation                         // 启用创建缓存实例注解
public class MatchApplication {

    public static void main(String[] args) {
        SpringApplication.run(MatchApplication.class,args);
    }
}
